package ObjStructure;

public class Product{
	private String ID;															//product ID
	private String ProductName;													//product name
	private String Type;														//AU or GE
	private String Price;														//produce price
	public String getID(){
		return ID;
	}
	public String getProduct(){
		return ProductName;
	}
	public String getType(){
		return Type;
	}
	public String getPrice(){
		return Price;
	}
	public Product(String id,String prod,String type,String price){
		ID = id;
		ProductName = prod;
		Type = type;
		Price = price;
	}
	public void printInString(){												// print all member data in a string
		System.out.println(ID +" " + " " + ProductName + " " + Type + " " + Price);
	}
}